import React, { Component } from "react";
import { BrowserRouter as Router, Route, Switch } from "react-router-dom";
import { KaoqinpushStatistics, KaoqinpushDetail, KaoqinpushStudentName} from "./kaoqinpushdetail.jsx";

class KaoqinpushRouter extends Component {
    render() {
        return (
            <Router basename="">
                <Switch>
                    <Route path="/KaoqinpushDetail" component={KaoqinpushDetail} />  
                    <Route path="/KaoqinpushStudentName" component={KaoqinpushStudentName} />              
                    <Route path="/" component={KaoqinpushStatistics} />
                </Switch>
            </Router>
        )
        
    }
}

export default KaoqinpushRouter;